package ru.payment.wm.impl.response;

import ru.payment.wm.Invoice;
import ru.payment.wm.X1Response;

/**
 *
 * User: sergey
 * Date: 09.04.2009
 * Time: 20:01:41
 *
 */
public class X1ResponseImpl extends AbstractWebMoneyResponse implements X1Response {

  private static final long serialVersionUID = 8814083620506001710L;
  private Invoice invoice;

  public X1ResponseImpl() {
  }

  public Invoice getInvoice() {
    return invoice;
  }

  public void setInvoice(Invoice invoice) {
    this.invoice = invoice;
  }

  @Override
  public String toString() {
    return super.toString()+
            "\n-- invoice data --\n"+invoice;
  }

}
